<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of delarticles
 *
 * @author IT
 */
class delarticles extends db {
    
    function del($id)
    {
        
        $query = "DELETE FROM articles WHERE id = " .$id;
        $data = $this->ketnoi($query) or die("Loi truy van");
        
        return $data;
        
    }
}
